package com.fast.common.em;

/**
 * 登录方式
 */
public enum DelTypeEm {

    NOT_DEL("0", "正常"),
    DEL("1", "删除");

    public String code;

    public String message;

    DelTypeEm(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public static DelTypeEm getCode(String code) {
        for (DelTypeEm var : values()) {
            if (var.code.equals(code)) {
                return var;
            }
        }
        return null;
    }

}
